<?php
require_once(dirname(__FILE__) . '/Dog.class.php');

class Wlan extends Dog {
	public $tbl = Constant::tbl_wifi_connection;

	function __construct() {
		$request['update'] = '$Date: 2009/02/16 07:36:07 $';
		$request['revision'] = '$Revision: 1.1 $';

		parent::__construct($request);
	}

	/**
	 *
	 *
	 * @param Controler $controller
	 * @param array $request
	 */
	function layout($controller, $request) {
		$this->pretreat($controller);
		
		$url = $_SESSION['url'];

		$controller->display($request, 'wlan/index');
		
		// redirect('http://www.baidu.com', 'location', 302);
		
		return true;
	}
}
?>
